package com.nk.iexam.models;

public class Subject implements IModel
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1361728079246928235L;
	private long _id;
	private String _name;
	private String _description;
	
	public Subject() 
	{	
	}
	
	public Subject(long id_, String name_, String desc_) 
	{
		_id = id_;
		_name = name_;
		_description = desc_;
	}
	
	public long getId()
	{
		return _id;
	}
	
	public void setId(long id_)
	{
		_id = id_;
	}
	
	public String getName()
	{
		return _name;
	}
	
	public void setName(String name_)
	{
		_name = name_;
	}
	
	public String getDescription()
	{
		return _description;
	}
	
	public void setDescription(String description_) 
	{
		_description = description_;
	}
	
	@Override
    public String toString() {
        return _name;
    }
}
